class Solution(object):
    def twoSum(self, nums, target):
        """
        :type nums: List[int]
        :type target: int
        :rtype: List[int]
        """
        # 暴力方式1
        # my_nums = [(index,value) for index,value in enumerate(nums)]
        
        # for index1,v1 in my_nums:
        #     res = target - v1
        #     for index2,v2 in my_nums:
        #         if index1 != index2 and res == v2:
        #             return [index1,index2]
        
                    